﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="ContactDetails.aspx.cs" Inherits="NhanAi.Admin.ContactDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h3>Chi tiết liên hệ</h3>
    <style>        #detail td {
            padding:5px;
        }
    </style>
    <table id="detail" class="full-width">       
        <tr>
            <td style="width:100px;">Người gửi</td>
            <td class="bold"><%=Contact.Subscriber %></td>
        </tr>
        <tr>
            <td>Email</td>
            <td><%=Contact.SubscriberEmail %></td>
        </tr>        
        <tr>
            <td>Ngày gửi</td>
            <td><%=Contact.SubscribingDate.ToString("dd/MM/yyyy") %></td>
        </tr>
        <tr>
            <td>Nội dung</td>
            <td><%=Contact.SubscribingContent %></td>
        </tr>
        <%if(Contact.SubscribingExtensions!=null) foreach(NhanAi.Entity.SubscribingExtension e in Contact.SubscribingExtensions){ %>
        <tr>
            <td><%=e.ExtKey %></td>
            <td><%=e.ExtValue %></td>
        </tr>
        <%} %>
        <tr>
            <td><a href="ListContacts.aspx">Trở lại danh sách</a></td>
            <td>&nbsp;</td>
        </tr>
    </table>
</asp:Content>
